<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Show Date</title>
</head>
<body>

  	<h1>Area : ${area}</h1>
   	<h1>Date : ${date}</h1>
  
  <table border="1" bordercolor="#FFFF00" style="background-color:#FFFFCC" width="100%" cellpadding="3" cellspacing="3">
	  #{list items:returnContracts, as:'Contract'}
	<tr>
		<td>${Contract.name1}</td>
		<td>${Contract.name2}</td>
		<td>${Contract.address}</td>
		<td>${Contract.mobile1} <br> ${Contract.mobile2}</td>
		<td>${Contract.phone1} <br> ${Contract.phone2}</td>
		<td></td>
		<td>${Contract.contract_id}</td>
		<td>${Contract.year}</td>
		<td>${Contract.plistNames}</td>
		
  				<td>${Contract.floor_type}</td>
  		
		<td><ul>#{list items:returnProducts, as:'Product'}
  
  				<li>${Product.quantity}</li>
  				  #{/list}
  				
  				</ul></td>
		<td><ul>#{list items:returnProducts, as:'Product'}
  
  				<li>${Product.price}</li>
  				  #{/list}
  				
  				</ul></td>
  						<td><ul>#{list items:returnProducts, as:'Product'}
  
  				<li>${Product.smell}</li>
  				  #{/list}
  				
  				</ul></td>
		<td>Table Cell</td>
	</tr>
	  #{/list}
</table>   
 

</body>
</html>